package cn.appsys.service.developer;

import cn.appsys.pojo.AppInfo;
import cn.appsys.util.PageSupport;

import java.util.Map;

public interface AppInfoService {
    PageSupport<AppInfo> getPageSupport(Map<String,Object> params);
    AppInfo getAppInfo(Integer id);
    boolean updateAppInfo(AppInfo appInfo);
    boolean deleteAppLogo(Integer id);
    boolean addAppInfo(AppInfo appInfo);
    AppInfo getAppInfoByName(String APKName);
    boolean deleteApp(Integer id);

    boolean updateAppStatus(AppInfo appInfo);

    boolean updateStatus(Integer status,Integer id);
}
